﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WomanMotion.WebApi.Model.Dtos.SendMessage
{
    /// <summary>
    /// 订阅消息推送
    /// </summary>
    public class UpdateSendMessageDTO : BaseUpdateDTO
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        [Required(ErrorMessage = "用户ID不能为空")]
        public long Userid { get; set; }

        /// <summary>
        /// 比赛Id
        /// </summary>
        [Required(ErrorMessage = "比赛ID不能为空")]
        public long Matchid { get; set; }

        /// <summary>
        /// 比赛时间
        /// </summary>
        public DateTime Matchtime { get; set; }

        /// <summary>
        /// 是否推送;0代表未推送，1代表推送
        /// </summary>
        public long Issend { get; set; }
    }
}